
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-shanshuo"></i>
                    <div class="name">闪烁</div>
                    <div class="fontclass">.icon-shanshuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pricetag"></i>
                    <div class="name">price-tag</div>
                    <div class="fontclass">.icon-pricetag</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiugai"></i>
                    <div class="name">修改</div>
                    <div class="fontclass">.icon-xiugai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-21signal"></i>
                    <div class="name">21 signal</div>
                    <div class="fontclass">.icon-21signal</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dianhua"></i>
                    <div class="name">电话</div>
                    <div class="fontclass">.icon-dianhua</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shezhi"></i>
                    <div class="name">设置</div>
                    <div class="fontclass">.icon-shezhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-vip2"></i>
                    <div class="name">vip</div>
                    <div class="fontclass">.icon-vip2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-signal"></i>
                    <div class="name">signal</div>
                    <div class="fontclass">.icon-signal</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-5geicon01shalou"></i>
                    <div class="name">5个ICON-01沙漏</div>
                    <div class="fontclass">.icon-5geicon01shalou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon13"></i>
                    <div class="name">更多</div>
                    <div class="fontclass">.icon-icon13</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfonticonfuzhi"></i>
                    <div class="name">dollar</div>
                    <div class="fontclass">.icon-iconfonticonfuzhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-rili"></i>
                    <div class="name">日历</div>
                    <div class="fontclass">.icon-rili</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-waihuipaijia"></i>
                    <div class="name">外汇牌价</div>
                    <div class="fontclass">.icon-waihuipaijia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiugaimima"></i>
                    <div class="name">修改密码</div>
                    <div class="fontclass">.icon-xiugaimima</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lock"></i>
                    <div class="name">lock</div>
                    <div class="fontclass">.icon-lock</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huiyuan"></i>
                    <div class="name">会员</div>
                    <div class="fontclass">.icon-huiyuan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconzhenghe47"></i>
                    <div class="name">视屏</div>
                    <div class="fontclass">.icon-iconzhenghe47</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-money"></i>
                    <div class="name">money</div>
                    <div class="fontclass">.icon-money</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-unif027"></i>
                    <div class="name">右</div>
                    <div class="fontclass">.icon-unif027</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfont21mairu"></i>
                    <div class="name">buy</div>
                    <div class="fontclass">.icon-iconfont21mairu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bangzhu"></i>
                    <div class="name">帮助</div>
                    <div class="fontclass">.icon-bangzhu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-money1"></i>
                    <div class="name">money</div>
                    <div class="fontclass">.icon-money1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tongzhi"></i>
                    <div class="name">通知</div>
                    <div class="fontclass">.icon-tongzhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-vip"></i>
                    <div class="name">vip</div>
                    <div class="fontclass">.icon-vip</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-vip1"></i>
                    <div class="name">vip</div>
                    <div class="fontclass">.icon-vip1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cwp_home_ic_price_n"></i>
                    <div class="name">cwp_home_ic_price_n</div>
                    <div class="fontclass">.icon-cwp_home_ic_price_n</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-transaction"></i>
                    <div class="name">transaction</div>
                    <div class="fontclass">.icon-transaction</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-up"></i>
                    <div class="name">up</div>
                    <div class="fontclass">.icon-up</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-call"></i>
                    <div class="name">call</div>
                    <div class="fontclass">.icon-call</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-youxiaoqi"></i>
                    <div class="name">有效期</div>
                    <div class="fontclass">.icon-youxiaoqi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jingji22"></i>
                    <div class="name">经济22</div>
                    <div class="fontclass">.icon-jingji22</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-nicheng"></i>
                    <div class="name">昵称</div>
                    <div class="fontclass">.icon-nicheng</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhanghao"></i>
                    <div class="name">账号</div>
                    <div class="fontclass">.icon-zhanghao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-nav_trade"></i>
                    <div class="name">nav_trade</div>
                    <div class="fontclass">.icon-nav_trade</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tongzhi1"></i>
                    <div class="name">通知</div>
                    <div class="fontclass">.icon-tongzhi1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-down"></i>
                    <div class="name">down</div>
                    <div class="fontclass">.icon-down</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-transaction1"></i>
                    <div class="name">transaction</div>
                    <div class="fontclass">.icon-transaction1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-coupon"></i>
                    <div class="name">coupon</div>
                    <div class="fontclass">.icon-coupon</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fenxi"></i>
                    <div class="name">分析</div>
                    <div class="fontclass">.icon-fenxi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-huiyuan1"></i>
                    <div class="name">会员</div>
                    <div class="fontclass">.icon-huiyuan1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-money2"></i>
                    <div class="name">money</div>
                    <div class="fontclass">.icon-money2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jingjitiaokongzhongxin"></i>
                    <div class="name">经济调控中心</div>
                    <div class="fontclass">.icon-jingjitiaokongzhongxin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-book"></i>
                    <div class="name">协议书</div>
                    <div class="fontclass">.icon-book</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoujihao"></i>
                    <div class="name">手机号</div>
                    <div class="fontclass">.icon-shoujihao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pay"></i>
                    <div class="name">pay</div>
                    <div class="fontclass">.icon-pay</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guanyu"></i>
                    <div class="name">关于</div>
                    <div class="fontclass">.icon-guanyu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tubiaozhizuomoban"></i>
                    <div class="name">走势</div>
                    <div class="fontclass">.icon-tubiaozhizuomoban</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tianping"></i>
                    <div class="name">天平</div>
                    <div class="fontclass">.icon-tianping</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-price_low_to_high"></i>
                    <div class="name">price_low_to_high</div>
                    <div class="fontclass">.icon-price_low_to_high</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhanghao1"></i>
                    <div class="name">账号</div>
                    <div class="fontclass">.icon-zhanghao1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-card"></i>
                    <div class="name">coupon</div>
                    <div class="fontclass">.icon-card</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ku"></i>
                    <div class="name">哭</div>
                    <div class="fontclass">.icon-ku</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
